<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/include.jsp"%>
<%@page import="com.ekingstar.framework.domain.User"%>
<%@page import="com.ekingstar.framework.security.UserUtil"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<link href="css/css.css" rel="stylesheet" type="text/css">
<title>上海大学生信息管理服务系统</title>
<style type="text/css">
body{
	margin:0px; padding:0px;
}
.error{ font-weight:bold; color:#990000;}
</style>
</head>
<body style="background-image:url(images/login_bj.gif); background-attachment:fixed; " oncontextmenu="return false;" oncopy="return false;" onpaste="return false;" onselectstart="return false;" oncut="return false;">
<div align="center" >
<s:form id="yzForm" name="yzForm" action="sjyz!sub.action" namespace="/">
	<input type="hidden" name="sjyzm" id="sjyzm" value='<s:property value="sjyzm"/>'/>
	<table border="0">
		<tr>
		<td class="sys_text">请输入手机动态密码：</td><s:property value="sjyzm"/>
		<td><s:textfield id="s_sjyzm" name="s_sjyzm"></s:textfield></td>
		<td><input type="button" class="sub_buttom" name="b_sjyzm" onclick="javascript:location.href='<s:url value="sjyz.action"/>'"  value="重新发送验证码"/></td>
		</tr>
		<tr><td colspan="3" height="40"><input type="button"  value="确定" class="btn_Text22" onclick="formSubmit()"/></td></tr>
	</table>
</s:form>
</div>	
<script type="text/javascript">
function onKeyDown(){
	if ( (event.altKey) || ((event.keyCode == 8) &&
	(event.srcElement.type != "text" &&
	event.srcElement.type != "textarea" &&
	event.srcElement.type != "password")) ||
	((event.ctrlKey) && ((event.keyCode == 78) || (event.keyCode == 82)) ) ||
	(event.keyCode == 116) ) {
	   event.keyCode = 0;
	   event.returnValue = false;
	   }
	}
document.onkeydown = onKeyDown;
	
function stop(){   
	return false;
}
document.oncontextmenu=stop;

function formSubmit(){
	var sjyzm = document.getElementById("sjyzm").value
	var s_sjyzm = document.getElementById("s_sjyzm").value
	if(sjyzm == s_sjyzm){
		document.yzForm.submit();
	}else{
		alert("请输入正确的手机验证码！");
	}
}
</script>
</body>
</html>